SET( CMAKE_CXX_COMPILER "/opt/intel/bin/icpc" )
cmake_minimum_required(VERSION 2.8)
 
project(ThicknessCalculator)
 
find_package(ITK REQUIRED)
include(${ITK_USE_FILE})

find_package(VTK REQUIRED)
include(${VTK_USE_FILE})
       
add_executable(ThicknessCalculator MACOSX_BUNDLE ThicknessCalculator.cxx )
target_link_libraries(ThicknessCalculator
   ${VTK_LIBRARIES} ${ITK_LIBRARIES})

#set(ThicknessCalculator_SOURCE ThicknessCalculator.cxx ParaToSPHARM.cxx itkMeshTovtkPolyData.cxx vtkPolyDataToitkMesh.cxx SphericalHarmonicSpatialObject.cxx #SphericalHarmonicCoefficientFileReader.cxx SphericalHarmonicMeshSource.cxx ParametricMeshToSPHARMSpatialObjectFilter.cxx SphericalHarmonicCoefficientFileWriter.cxx)

#add_executable(ThicknessCalculator ${ThicknessCalculator_SOURCE})

#target_link_libraries( ThicknessCalculator
#       ${ITK_LIBRARIES}
#       vtkIO vtkHybrid vtkCommon vtkFiltering lapack #cula_lapack cublas cudart cula_core   
#       )
